function youtube(IDyoutube) {
  var output = "<object width='690' height='400'><param name='movie' value='//www.youtube.com/v/"+ IDyoutube +"?hl=es_ES&amp;version=3&amp;rel=0'></param><param name='allowFullScreen' value='true'></param><param name='allowscriptaccess' value='always'></param><embed src='//www.youtube.com/v/"+ IDyoutube +"?hl=es_ES&amp;version=3&amp;rel=0' type='application/x-shockwave-flash' width='690' height='400' allowscriptaccess='always' allowfullscreen='true'>";
  output += "</embed></object>";
  document.write (output);
}

function dailymotion(IDdailymotion) {
  var output = "<object width='690' height='400'>";
  output += "<param name='movie' value='http://www.dailymotion.com/swf/video/"+IDdailymotion+"'></param>";
  output += "<param name='allowFullScreen' value='true'></param>";
  output += "<param name='allowScriptAccess' value='always'></param>";
  output += "<embed type='application/x-shockwave-flash' src='http://www.dailymotion.com/swf/video/"+IDdailymotion+"' width='690' height='400' allowfullscreen='true' allowscriptaccess='always'>";
  output += "</embed></object>";
  document.write (output);
}

function allmy(IDallmyvideos) {
  var output = "<iframe src=\"http://allmyvideos.net/embed-" + IDallmyvideos + ".html\" frameborder=\"0\" marginwidth=0 marginheight=0 scrolling=\"NO\" allowfullscreen='true' width=690 height=400></iframe>";
  output += "</br><center><span style='font-size:13px;color;#000;'><b>Si tienes problemas al visualizar el video, puedes ver el anime en su enlace <a href=\"http://allmyvideos.net/" + IDallmyvideos + ".html\" target=\"_new\" style=\"color:#FF0000;overflow:hidden;\">Externo</a></b></span> </center>";
  document.write (output);
}

function share(a){
var video= a; 
document.write('<embed src="http://static.4shared.com/flash/player/5.6/player.swf?file='+video+'&streamer='+video+'&image=https://dl.dropboxusercontent.com/u/260967704/img/videologo.jpg&logo.position=top-left&amp;autostart=false&amp;backcolor=000000&amp;frontcolor=FFFFFF&amp;lightcolor=FFFFFF&amp;screencolor=000000" width="690" height="400" allowfullscreen="true" allowscriptaccess="always" type="application/x-shockwave-flash"></embed>');}


function photo(photo) {
  var output = "<object id=\"player\" width=\"690\" height=\"400\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" >";
  output += "<param name=\"movie\" value=\"https://dl.dropboxusercontent.com/u/240161376/repromp4/player.swf\" >";
  output += "</param>";
  output += "<param name=\"allowFullScreen\" value=\"true\" >";
  output += "</param>";
  output += "<param name=\"allowscriptaccess\" value=\"always\">";
  output += "</param>";
  output += "<embed flashvars=\"file=" + photo + "&provider=video&stretching=exactfit&controlbar.position=over\" src=\"https://dl.dropboxusercontent.com/u/240161376/repromp4/player.swf\"  type=\"application/x-shockwave-flash\" allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"690\" height=\"400\">";
  output += "</embed>";
  output += "</object>";
  document.write (output);
}

function tutv(tutv) {
  var output = "<object id=\"player\" width=\"690\" height=\"400\" classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" >";
  output += "<param name=\"movie\" value=\"http://tu.tv/tutvweb.swf?" + tutv  + "\" >";
  output += "</param>";
  output += "<param name=\"allowFullScreen\" value=\"true\" >";
  output += "</param>";
  output += "<param name=\"allowscriptaccess\" value=\"always\">";
  output += "</param>";
  output += "<embed src=\"http://tu.tv/tutvweb.swf?" + tutv + "\" type=\"application/x-shockwave-flash\" allowscriptaccess=\"always\" allowfullscreen=\"true\" width=\"690\" height=\"400\">";
  output += "</embed>";
  output += "</object>";
  document.write (output);
}

function vk(IDvk) {
  var output = "<center><iframe title=\"vk video player\" width=\"690\" height=\"400\" src=\"http://vk.com/video_ext.php?oid=" + IDvk + "\" frameborder=\"0\"  allowfullscreen>";
  output += "</iframe></center>";
  document.write (output);
}

function rutube(rutube) {
  var output = "<iframe title=\"rutube video player\" width=\"690\" height=\"400\" src=\"http://rutube.ru/video/embed/" + rutube + "\" frameborder=\"0\" allowfullscreen>";
  output += "</iframe>";
  document.write (output);
}

function vimeo(vimeo) {
    
  var output = "<object type='application/x-shockwave-flash' style='width: 690px;height: 400px;' data='http://vimeo.com/moogaloop.swf?clip_id="+ vimeo +"&server=vimeo.com&show_title=1&show_byline=1&show_portrait=0&color=00adef&fullscreen=1' width='690' height='400'>";
    output +=  "<param name='wmode' value='transparent'>";
    output +=  "<param name='allowFullScreen' value='true'>";
  output += "</object>";
  document.write (output);
}

function videomega(IDvideomega) {
  var output = "<iframe src=\"http://videomega.tv/iframe.php?ref=" + IDvideomega + "\" type=\"text/html\" allowfullscreen=\"true\" frameborder=\"0\" height=\"400\" scrolling=\"no\" width=\"690\"></iframe>";
  output += "</br><center><span style='font-size:13px;'><b>Si tienes problemas al visualizar el video, puedes ver el anime en su enlace <a href=\"http://videomega.tv/?ref=" + IDvideomega + "\" target=\"_new\" style=\"color:#FF0000;overflow:hidden;\">Externo</a></b></span> </center>";
  document.write (output);
}

function picasa(IDpicasaweb) {
var output = "<embed name=\"flashplayer\" src=\"http://ddhentaid3.net16.net/player.swf\" FlashVars=\"plugins=http://ddhentaid3.net16.net/plugins/proxy.swf&proxy.link=https://picasaweb.google.com/lh/photo/" + IDpicasaweb + "&skin=http://ddhentaid3.net16.net/azul.zip&proxy.reloader=false\" type=\"application/x-shockwave-flash\" allowfullscreen=\"true\" allowScriptAccess=\"always\" width=\"690\" height=\"400\" />";
document.write (output);
}